// mod calc_time;
use solutiont3::*;

fn main() {
    // let time_infos = calc_time::time_info("2024-11-18");
    // println!("time info: {time_infos}");
    // println!("Week {}, left {} day(s) this year, {} day(s) after is spring festival", );
    // let time_infos = calc_time::time_info("2020-01-20");
    // println!("time info: {time_infos}");

    // let date1 = Date::from_year_month_day(1, 1, 21).unwrap();
    // let date2 = Date::from_year_month_day(1582, 10, 15).unwrap();
    // println!("{:?}",  Date::calc_date_duration(&date1, &date2));
    // println!("{:?}",  date2 - date1 );
    // let date3 = Date::from_year_month_day(2024, 11, 30).unwrap();
    // let date4 = Date::from_year_month_day(2024, 1, 2).unwrap();
    // println!("{:?}",  Date::calc_date_duration(&date4, &date3));
    // println!("{:?}",  date4 - date3 );
    // println!("{:?}", date4);
    // println!("{:?}", date3 - 333);
    // println!("{:?} {:?}", date4 + 333, date3);
    let date5 = Date::from_year_month_day(2024, 11, 10);
    println!("{:?}", date5.unwrap().get_week_num_the_year());
}
